package com.teamall.web.base.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class VillageInfoArg {
    private String pk_name = "VILLAGE_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<VillageInfoCriteria> oredCriteria;

    public VillageInfoArg() {
        oredCriteria = new ArrayList<VillageInfoCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<VillageInfoCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(VillageInfoCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public VillageInfoCriteria or() {
    	VillageInfoCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public VillageInfoCriteria createCriteria() {
    	VillageInfoCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected VillageInfoCriteria createCriteriaInternal() {
    	VillageInfoCriteria criteria = new VillageInfoCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<VillageInfoCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<VillageInfoCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<VillageInfoCriterion> getAllCriteria() {
            return criteria;
        }

        public List<VillageInfoCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new VillageInfoCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new VillageInfoCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new VillageInfoCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new VillageInfoCriterion(condition, value1, value2));
        }

        public VillageInfoCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andTownIdIsNull() {
            addCriterion("TOWN_ID is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdIsNotNull() {
            addCriterion("TOWN_ID is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdEqualTo(Integer value) {
            addCriterion("TOWN_ID =", value, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("TOWN_ID <>", value, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("TOWN_ID >", value, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOWN_ID >=", value, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdLessThan(Integer value) {
            addCriterion("TOWN_ID <", value, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("TOWN_ID <=", value, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdNotLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdLeftLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdRightLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdIn(List<Integer> values) {
            addCriterion("TOWN_ID  in ", values, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("TOWN_ID not in ", values, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("TOWN_ID between ", value1, value2, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("TOWN_ID not between ", value1, value2, "TOWN_ID");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andVillageIdIsNull() {
            addCriterion("VILLAGE_ID is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdIsNotNull() {
            addCriterion("VILLAGE_ID is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("VILLAGE_ID =", value, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("VILLAGE_ID <>", value, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("VILLAGE_ID >", value, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_ID >=", value, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdLessThan(Integer value) {
            addCriterion("VILLAGE_ID <", value, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_ID <=", value, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdNotLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdRightLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("VILLAGE_ID  in ", values, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("VILLAGE_ID not in ", values, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_ID between ", value1, value2, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_ID not between ", value1, value2, "VILLAGE_ID");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andVillageCodeIsNull() {
            addCriterion("VILLAGE_CODE is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeIsNotNull() {
            addCriterion("VILLAGE_CODE is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeEqualTo(String value) {
            addCriterion("VILLAGE_CODE =", value, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeNotEqualTo(String value) {
            addCriterion("VILLAGE_CODE <>", value, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeGreaterThan(String value) {
            addCriterion("VILLAGE_CODE >", value, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("VILLAGE_CODE >=", value, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeLessThan(String value) {
            addCriterion("VILLAGE_CODE <", value, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeLessThanOrEqualTo(String value) {
            addCriterion("VILLAGE_CODE <=", value, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeLike(String value) {
            addCriterion("VILLAGE_CODE like ", value, "VILLAGE_CODE", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeNotLike(String value) {
            addCriterion("VILLAGE_CODE  not like ", value, "VILLAGE_CODE", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeLeftLike(String value) {
            addCriterion("VILLAGE_CODE like ", value, "VILLAGE_CODE", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeNotLeftLike(String value) {
            addCriterion("VILLAGE_CODE  not like ", value, "VILLAGE_CODE", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeRightLike(String value) {
            addCriterion("VILLAGE_CODE like ", value, "VILLAGE_CODE", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeNotRightLike(String value) {
            addCriterion("VILLAGE_CODE  not like ", value, "VILLAGE_CODE", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeIn(List<String> values) {
            addCriterion("VILLAGE_CODE  in ", values, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeNotIn(List<String> values) {
            addCriterion("VILLAGE_CODE not in ", values, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeBetween(String value1, String value2) {
            addCriterion("VILLAGE_CODE between ", value1, value2, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageCodeNotBetween(String value1, String value2) {
            addCriterion("VILLAGE_CODE not between ", value1, value2, "VILLAGE_CODE");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andVillageNameIsNull() {
            addCriterion("VILLAGE_NAME is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameIsNotNull() {
            addCriterion("VILLAGE_NAME is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameEqualTo(String value) {
            addCriterion("VILLAGE_NAME =", value, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameNotEqualTo(String value) {
            addCriterion("VILLAGE_NAME <>", value, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameGreaterThan(String value) {
            addCriterion("VILLAGE_NAME >", value, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameGreaterThanOrEqualTo(String value) {
            addCriterion("VILLAGE_NAME >=", value, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameLessThan(String value) {
            addCriterion("VILLAGE_NAME <", value, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameLessThanOrEqualTo(String value) {
            addCriterion("VILLAGE_NAME <=", value, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameLike(String value) {
            addCriterion("VILLAGE_NAME like ", value, "VILLAGE_NAME", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameNotLike(String value) {
            addCriterion("VILLAGE_NAME  not like ", value, "VILLAGE_NAME", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameLeftLike(String value) {
            addCriterion("VILLAGE_NAME like ", value, "VILLAGE_NAME", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameNotLeftLike(String value) {
            addCriterion("VILLAGE_NAME  not like ", value, "VILLAGE_NAME", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameRightLike(String value) {
            addCriterion("VILLAGE_NAME like ", value, "VILLAGE_NAME", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameNotRightLike(String value) {
            addCriterion("VILLAGE_NAME  not like ", value, "VILLAGE_NAME", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameIn(List<String> values) {
            addCriterion("VILLAGE_NAME  in ", values, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameNotIn(List<String> values) {
            addCriterion("VILLAGE_NAME not in ", values, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameBetween(String value1, String value2) {
            addCriterion("VILLAGE_NAME between ", value1, value2, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNameNotBetween(String value1, String value2) {
            addCriterion("VILLAGE_NAME not between ", value1, value2, "VILLAGE_NAME");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andPovertyAttrIsNull() {
            addCriterion("POVERTY_ATTR is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrIsNotNull() {
            addCriterion("POVERTY_ATTR is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR =", value, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrNotEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR <>", value, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrGreaterThan(Integer value) {
            addCriterion("POVERTY_ATTR >", value, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrGreaterThanOrEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR >=", value, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrLessThan(Integer value) {
            addCriterion("POVERTY_ATTR <", value, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrLessThanOrEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR <=", value, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrLike(Integer value) {
            addCriterion("POVERTY_ATTR like ", value, "POVERTY_ATTR", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrNotLike(Integer value) {
            addCriterion("POVERTY_ATTR  not like ", value, "POVERTY_ATTR", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrLeftLike(Integer value) {
            addCriterion("POVERTY_ATTR like ", value, "POVERTY_ATTR", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrNotLeftLike(Integer value) {
            addCriterion("POVERTY_ATTR  not like ", value, "POVERTY_ATTR", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrRightLike(Integer value) {
            addCriterion("POVERTY_ATTR like ", value, "POVERTY_ATTR", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrNotRightLike(Integer value) {
            addCriterion("POVERTY_ATTR  not like ", value, "POVERTY_ATTR", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrIn(List<Integer> values) {
            addCriterion("POVERTY_ATTR  in ", values, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrNotIn(List<Integer> values) {
            addCriterion("POVERTY_ATTR not in ", values, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrBetween(Integer value1, Integer value2) {
            addCriterion("POVERTY_ATTR between ", value1, value2, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andPovertyAttrNotBetween(Integer value1, Integer value2) {
            addCriterion("POVERTY_ATTR not between ", value1, value2, "POVERTY_ATTR");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andDepartmentLeaderIsNull() {
            addCriterion("DEPARTMENT_LEADER is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderIsNotNull() {
            addCriterion("DEPARTMENT_LEADER is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderEqualTo(String value) {
            addCriterion("DEPARTMENT_LEADER =", value, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderNotEqualTo(String value) {
            addCriterion("DEPARTMENT_LEADER <>", value, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderGreaterThan(String value) {
            addCriterion("DEPARTMENT_LEADER >", value, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("DEPARTMENT_LEADER >=", value, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderLessThan(String value) {
            addCriterion("DEPARTMENT_LEADER <", value, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderLessThanOrEqualTo(String value) {
            addCriterion("DEPARTMENT_LEADER <=", value, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderLike(String value) {
            addCriterion("DEPARTMENT_LEADER like ", value, "DEPARTMENT_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderNotLike(String value) {
            addCriterion("DEPARTMENT_LEADER  not like ", value, "DEPARTMENT_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderLeftLike(String value) {
            addCriterion("DEPARTMENT_LEADER like ", value, "DEPARTMENT_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderNotLeftLike(String value) {
            addCriterion("DEPARTMENT_LEADER  not like ", value, "DEPARTMENT_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderRightLike(String value) {
            addCriterion("DEPARTMENT_LEADER like ", value, "DEPARTMENT_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderNotRightLike(String value) {
            addCriterion("DEPARTMENT_LEADER  not like ", value, "DEPARTMENT_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderIn(List<String> values) {
            addCriterion("DEPARTMENT_LEADER  in ", values, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderNotIn(List<String> values) {
            addCriterion("DEPARTMENT_LEADER not in ", values, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderBetween(String value1, String value2) {
            addCriterion("DEPARTMENT_LEADER between ", value1, value2, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andDepartmentLeaderNotBetween(String value1, String value2) {
            addCriterion("DEPARTMENT_LEADER not between ", value1, value2, "DEPARTMENT_LEADER");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andTownLeaderIsNull() {
            addCriterion("TOWN_LEADER is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderIsNotNull() {
            addCriterion("TOWN_LEADER is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderEqualTo(String value) {
            addCriterion("TOWN_LEADER =", value, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderNotEqualTo(String value) {
            addCriterion("TOWN_LEADER <>", value, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderGreaterThan(String value) {
            addCriterion("TOWN_LEADER >", value, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("TOWN_LEADER >=", value, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderLessThan(String value) {
            addCriterion("TOWN_LEADER <", value, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderLessThanOrEqualTo(String value) {
            addCriterion("TOWN_LEADER <=", value, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderLike(String value) {
            addCriterion("TOWN_LEADER like ", value, "TOWN_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderNotLike(String value) {
            addCriterion("TOWN_LEADER  not like ", value, "TOWN_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderLeftLike(String value) {
            addCriterion("TOWN_LEADER like ", value, "TOWN_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderNotLeftLike(String value) {
            addCriterion("TOWN_LEADER  not like ", value, "TOWN_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderRightLike(String value) {
            addCriterion("TOWN_LEADER like ", value, "TOWN_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderNotRightLike(String value) {
            addCriterion("TOWN_LEADER  not like ", value, "TOWN_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderIn(List<String> values) {
            addCriterion("TOWN_LEADER  in ", values, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderNotIn(List<String> values) {
            addCriterion("TOWN_LEADER not in ", values, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderBetween(String value1, String value2) {
            addCriterion("TOWN_LEADER between ", value1, value2, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andTownLeaderNotBetween(String value1, String value2) {
            addCriterion("TOWN_LEADER not between ", value1, value2, "TOWN_LEADER");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andCityOrgIsNull() {
            addCriterion("CITY_ORG is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgIsNotNull() {
            addCriterion("CITY_ORG is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgEqualTo(String value) {
            addCriterion("CITY_ORG =", value, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgNotEqualTo(String value) {
            addCriterion("CITY_ORG <>", value, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgGreaterThan(String value) {
            addCriterion("CITY_ORG >", value, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgGreaterThanOrEqualTo(String value) {
            addCriterion("CITY_ORG >=", value, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgLessThan(String value) {
            addCriterion("CITY_ORG <", value, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgLessThanOrEqualTo(String value) {
            addCriterion("CITY_ORG <=", value, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgLike(String value) {
            addCriterion("CITY_ORG like ", value, "CITY_ORG", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgNotLike(String value) {
            addCriterion("CITY_ORG  not like ", value, "CITY_ORG", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgLeftLike(String value) {
            addCriterion("CITY_ORG like ", value, "CITY_ORG", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgNotLeftLike(String value) {
            addCriterion("CITY_ORG  not like ", value, "CITY_ORG", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgRightLike(String value) {
            addCriterion("CITY_ORG like ", value, "CITY_ORG", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgNotRightLike(String value) {
            addCriterion("CITY_ORG  not like ", value, "CITY_ORG", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgIn(List<String> values) {
            addCriterion("CITY_ORG  in ", values, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgNotIn(List<String> values) {
            addCriterion("CITY_ORG not in ", values, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgBetween(String value1, String value2) {
            addCriterion("CITY_ORG between ", value1, value2, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andCityOrgNotBetween(String value1, String value2) {
            addCriterion("CITY_ORG not between ", value1, value2, "CITY_ORG");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andVillageLeaderIsNull() {
            addCriterion("VILLAGE_LEADER is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderIsNotNull() {
            addCriterion("VILLAGE_LEADER is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderEqualTo(String value) {
            addCriterion("VILLAGE_LEADER =", value, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderNotEqualTo(String value) {
            addCriterion("VILLAGE_LEADER <>", value, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderGreaterThan(String value) {
            addCriterion("VILLAGE_LEADER >", value, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("VILLAGE_LEADER >=", value, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderLessThan(String value) {
            addCriterion("VILLAGE_LEADER <", value, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderLessThanOrEqualTo(String value) {
            addCriterion("VILLAGE_LEADER <=", value, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderLike(String value) {
            addCriterion("VILLAGE_LEADER like ", value, "VILLAGE_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderNotLike(String value) {
            addCriterion("VILLAGE_LEADER  not like ", value, "VILLAGE_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderLeftLike(String value) {
            addCriterion("VILLAGE_LEADER like ", value, "VILLAGE_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderNotLeftLike(String value) {
            addCriterion("VILLAGE_LEADER  not like ", value, "VILLAGE_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderRightLike(String value) {
            addCriterion("VILLAGE_LEADER like ", value, "VILLAGE_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderNotRightLike(String value) {
            addCriterion("VILLAGE_LEADER  not like ", value, "VILLAGE_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderIn(List<String> values) {
            addCriterion("VILLAGE_LEADER  in ", values, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderNotIn(List<String> values) {
            addCriterion("VILLAGE_LEADER not in ", values, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderBetween(String value1, String value2) {
            addCriterion("VILLAGE_LEADER between ", value1, value2, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageLeaderNotBetween(String value1, String value2) {
            addCriterion("VILLAGE_LEADER not between ", value1, value2, "VILLAGE_LEADER");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andVillageTelIsNull() {
            addCriterion("VILLAGE_TEL is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelIsNotNull() {
            addCriterion("VILLAGE_TEL is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelEqualTo(String value) {
            addCriterion("VILLAGE_TEL =", value, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelNotEqualTo(String value) {
            addCriterion("VILLAGE_TEL <>", value, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelGreaterThan(String value) {
            addCriterion("VILLAGE_TEL >", value, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelGreaterThanOrEqualTo(String value) {
            addCriterion("VILLAGE_TEL >=", value, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelLessThan(String value) {
            addCriterion("VILLAGE_TEL <", value, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelLessThanOrEqualTo(String value) {
            addCriterion("VILLAGE_TEL <=", value, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelLike(String value) {
            addCriterion("VILLAGE_TEL like ", value, "VILLAGE_TEL", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelNotLike(String value) {
            addCriterion("VILLAGE_TEL  not like ", value, "VILLAGE_TEL", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelLeftLike(String value) {
            addCriterion("VILLAGE_TEL like ", value, "VILLAGE_TEL", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelNotLeftLike(String value) {
            addCriterion("VILLAGE_TEL  not like ", value, "VILLAGE_TEL", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelRightLike(String value) {
            addCriterion("VILLAGE_TEL like ", value, "VILLAGE_TEL", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelNotRightLike(String value) {
            addCriterion("VILLAGE_TEL  not like ", value, "VILLAGE_TEL", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelIn(List<String> values) {
            addCriterion("VILLAGE_TEL  in ", values, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelNotIn(List<String> values) {
            addCriterion("VILLAGE_TEL not in ", values, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelBetween(String value1, String value2) {
            addCriterion("VILLAGE_TEL between ", value1, value2, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageTelNotBetween(String value1, String value2) {
            addCriterion("VILLAGE_TEL not between ", value1, value2, "VILLAGE_TEL");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andVillageNumIsNull() {
            addCriterion("VILLAGE_NUM is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumIsNotNull() {
            addCriterion("VILLAGE_NUM is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumEqualTo(Integer value) {
            addCriterion("VILLAGE_NUM =", value, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumNotEqualTo(Integer value) {
            addCriterion("VILLAGE_NUM <>", value, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumGreaterThan(Integer value) {
            addCriterion("VILLAGE_NUM >", value, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_NUM >=", value, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumLessThan(Integer value) {
            addCriterion("VILLAGE_NUM <", value, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumLessThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_NUM <=", value, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumLike(Integer value) {
            addCriterion("VILLAGE_NUM like ", value, "VILLAGE_NUM", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumNotLike(Integer value) {
            addCriterion("VILLAGE_NUM  not like ", value, "VILLAGE_NUM", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumLeftLike(Integer value) {
            addCriterion("VILLAGE_NUM like ", value, "VILLAGE_NUM", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumNotLeftLike(Integer value) {
            addCriterion("VILLAGE_NUM  not like ", value, "VILLAGE_NUM", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumRightLike(Integer value) {
            addCriterion("VILLAGE_NUM like ", value, "VILLAGE_NUM", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumNotRightLike(Integer value) {
            addCriterion("VILLAGE_NUM  not like ", value, "VILLAGE_NUM", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumIn(List<Integer> values) {
            addCriterion("VILLAGE_NUM  in ", values, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumNotIn(List<Integer> values) {
            addCriterion("VILLAGE_NUM not in ", values, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_NUM between ", value1, value2, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andVillageNumNotBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_NUM not between ", value1, value2, "VILLAGE_NUM");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andLeaveFlagIsNull() {
            addCriterion("LEAVE_FLAG is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagIsNotNull() {
            addCriterion("LEAVE_FLAG is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagEqualTo(Integer value) {
            addCriterion("LEAVE_FLAG =", value, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagNotEqualTo(Integer value) {
            addCriterion("LEAVE_FLAG <>", value, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagGreaterThan(Integer value) {
            addCriterion("LEAVE_FLAG >", value, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("LEAVE_FLAG >=", value, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagLessThan(Integer value) {
            addCriterion("LEAVE_FLAG <", value, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagLessThanOrEqualTo(Integer value) {
            addCriterion("LEAVE_FLAG <=", value, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagLike(Integer value) {
            addCriterion("LEAVE_FLAG like ", value, "LEAVE_FLAG", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagNotLike(Integer value) {
            addCriterion("LEAVE_FLAG  not like ", value, "LEAVE_FLAG", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagLeftLike(Integer value) {
            addCriterion("LEAVE_FLAG like ", value, "LEAVE_FLAG", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagNotLeftLike(Integer value) {
            addCriterion("LEAVE_FLAG  not like ", value, "LEAVE_FLAG", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagRightLike(Integer value) {
            addCriterion("LEAVE_FLAG like ", value, "LEAVE_FLAG", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagNotRightLike(Integer value) {
            addCriterion("LEAVE_FLAG  not like ", value, "LEAVE_FLAG", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagIn(List<Integer> values) {
            addCriterion("LEAVE_FLAG  in ", values, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagNotIn(List<Integer> values) {
            addCriterion("LEAVE_FLAG not in ", values, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagBetween(Integer value1, Integer value2) {
            addCriterion("LEAVE_FLAG between ", value1, value2, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andLeaveFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("LEAVE_FLAG not between ", value1, value2, "LEAVE_FLAG");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andFamilyNumIsNull() {
            addCriterion("FAMILY_NUM is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumIsNotNull() {
            addCriterion("FAMILY_NUM is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumEqualTo(Integer value) {
            addCriterion("FAMILY_NUM =", value, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumNotEqualTo(Integer value) {
            addCriterion("FAMILY_NUM <>", value, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumGreaterThan(Integer value) {
            addCriterion("FAMILY_NUM >", value, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_NUM >=", value, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumLessThan(Integer value) {
            addCriterion("FAMILY_NUM <", value, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_NUM <=", value, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumLike(Integer value) {
            addCriterion("FAMILY_NUM like ", value, "FAMILY_NUM", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumNotLike(Integer value) {
            addCriterion("FAMILY_NUM  not like ", value, "FAMILY_NUM", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumLeftLike(Integer value) {
            addCriterion("FAMILY_NUM like ", value, "FAMILY_NUM", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumNotLeftLike(Integer value) {
            addCriterion("FAMILY_NUM  not like ", value, "FAMILY_NUM", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumRightLike(Integer value) {
            addCriterion("FAMILY_NUM like ", value, "FAMILY_NUM", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumNotRightLike(Integer value) {
            addCriterion("FAMILY_NUM  not like ", value, "FAMILY_NUM", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumIn(List<Integer> values) {
            addCriterion("FAMILY_NUM  in ", values, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumNotIn(List<Integer> values) {
            addCriterion("FAMILY_NUM not in ", values, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_NUM between ", value1, value2, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andFamilyNumNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_NUM not between ", value1, value2, "FAMILY_NUM");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andAllPopIsNull() {
            addCriterion("ALL_POP is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopIsNotNull() {
            addCriterion("ALL_POP is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopEqualTo(Integer value) {
            addCriterion("ALL_POP =", value, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopNotEqualTo(Integer value) {
            addCriterion("ALL_POP <>", value, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopGreaterThan(Integer value) {
            addCriterion("ALL_POP >", value, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopGreaterThanOrEqualTo(Integer value) {
            addCriterion("ALL_POP >=", value, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopLessThan(Integer value) {
            addCriterion("ALL_POP <", value, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopLessThanOrEqualTo(Integer value) {
            addCriterion("ALL_POP <=", value, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopLike(Integer value) {
            addCriterion("ALL_POP like ", value, "ALL_POP", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopNotLike(Integer value) {
            addCriterion("ALL_POP  not like ", value, "ALL_POP", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopLeftLike(Integer value) {
            addCriterion("ALL_POP like ", value, "ALL_POP", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopNotLeftLike(Integer value) {
            addCriterion("ALL_POP  not like ", value, "ALL_POP", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopRightLike(Integer value) {
            addCriterion("ALL_POP like ", value, "ALL_POP", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopNotRightLike(Integer value) {
            addCriterion("ALL_POP  not like ", value, "ALL_POP", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopIn(List<Integer> values) {
            addCriterion("ALL_POP  in ", values, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopNotIn(List<Integer> values) {
            addCriterion("ALL_POP not in ", values, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopBetween(Integer value1, Integer value2) {
            addCriterion("ALL_POP between ", value1, value2, "ALL_POP");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAllPopNotBetween(Integer value1, Integer value2) {
            addCriterion("ALL_POP not between ", value1, value2, "ALL_POP");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andAidTeamIdIsNull() {
            addCriterion("AID_TEAM_ID is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdIsNotNull() {
            addCriterion("AID_TEAM_ID is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdEqualTo(Integer value) {
            addCriterion("AID_TEAM_ID =", value, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdNotEqualTo(Integer value) {
            addCriterion("AID_TEAM_ID <>", value, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdGreaterThan(Integer value) {
            addCriterion("AID_TEAM_ID >", value, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("AID_TEAM_ID >=", value, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdLessThan(Integer value) {
            addCriterion("AID_TEAM_ID <", value, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdLessThanOrEqualTo(Integer value) {
            addCriterion("AID_TEAM_ID <=", value, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdLike(Integer value) {
            addCriterion("AID_TEAM_ID like ", value, "AID_TEAM_ID", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdNotLike(Integer value) {
            addCriterion("AID_TEAM_ID  not like ", value, "AID_TEAM_ID", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdLeftLike(Integer value) {
            addCriterion("AID_TEAM_ID like ", value, "AID_TEAM_ID", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdNotLeftLike(Integer value) {
            addCriterion("AID_TEAM_ID  not like ", value, "AID_TEAM_ID", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdRightLike(Integer value) {
            addCriterion("AID_TEAM_ID like ", value, "AID_TEAM_ID", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdNotRightLike(Integer value) {
            addCriterion("AID_TEAM_ID  not like ", value, "AID_TEAM_ID", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdIn(List<Integer> values) {
            addCriterion("AID_TEAM_ID  in ", values, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdNotIn(List<Integer> values) {
            addCriterion("AID_TEAM_ID not in ", values, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdBetween(Integer value1, Integer value2) {
            addCriterion("AID_TEAM_ID between ", value1, value2, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andAidTeamIdNotBetween(Integer value1, Integer value2) {
            addCriterion("AID_TEAM_ID not between ", value1, value2, "AID_TEAM_ID");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andGachaSecretaryIsNull() {
            addCriterion("GACHA_SECRETARY is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryIsNotNull() {
            addCriterion("GACHA_SECRETARY is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryEqualTo(String value) {
            addCriterion("GACHA_SECRETARY =", value, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryNotEqualTo(String value) {
            addCriterion("GACHA_SECRETARY <>", value, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryGreaterThan(String value) {
            addCriterion("GACHA_SECRETARY >", value, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryGreaterThanOrEqualTo(String value) {
            addCriterion("GACHA_SECRETARY >=", value, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryLessThan(String value) {
            addCriterion("GACHA_SECRETARY <", value, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryLessThanOrEqualTo(String value) {
            addCriterion("GACHA_SECRETARY <=", value, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryLike(String value) {
            addCriterion("GACHA_SECRETARY like ", value, "GACHA_SECRETARY", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryNotLike(String value) {
            addCriterion("GACHA_SECRETARY  not like ", value, "GACHA_SECRETARY", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryLeftLike(String value) {
            addCriterion("GACHA_SECRETARY like ", value, "GACHA_SECRETARY", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryNotLeftLike(String value) {
            addCriterion("GACHA_SECRETARY  not like ", value, "GACHA_SECRETARY", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryRightLike(String value) {
            addCriterion("GACHA_SECRETARY like ", value, "GACHA_SECRETARY", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryNotRightLike(String value) {
            addCriterion("GACHA_SECRETARY  not like ", value, "GACHA_SECRETARY", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryIn(List<String> values) {
            addCriterion("GACHA_SECRETARY  in ", values, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryNotIn(List<String> values) {
            addCriterion("GACHA_SECRETARY not in ", values, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryBetween(String value1, String value2) {
            addCriterion("GACHA_SECRETARY between ", value1, value2, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaSecretaryNotBetween(String value1, String value2) {
            addCriterion("GACHA_SECRETARY not between ", value1, value2, "GACHA_SECRETARY");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andGachaLeaderIsNull() {
            addCriterion("GACHA_LEADER is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderIsNotNull() {
            addCriterion("GACHA_LEADER is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderEqualTo(String value) {
            addCriterion("GACHA_LEADER =", value, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderNotEqualTo(String value) {
            addCriterion("GACHA_LEADER <>", value, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderGreaterThan(String value) {
            addCriterion("GACHA_LEADER >", value, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("GACHA_LEADER >=", value, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderLessThan(String value) {
            addCriterion("GACHA_LEADER <", value, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderLessThanOrEqualTo(String value) {
            addCriterion("GACHA_LEADER <=", value, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderLike(String value) {
            addCriterion("GACHA_LEADER like ", value, "GACHA_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderNotLike(String value) {
            addCriterion("GACHA_LEADER  not like ", value, "GACHA_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderLeftLike(String value) {
            addCriterion("GACHA_LEADER like ", value, "GACHA_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderNotLeftLike(String value) {
            addCriterion("GACHA_LEADER  not like ", value, "GACHA_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderRightLike(String value) {
            addCriterion("GACHA_LEADER like ", value, "GACHA_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderNotRightLike(String value) {
            addCriterion("GACHA_LEADER  not like ", value, "GACHA_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderIn(List<String> values) {
            addCriterion("GACHA_LEADER  in ", values, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderNotIn(List<String> values) {
            addCriterion("GACHA_LEADER not in ", values, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderBetween(String value1, String value2) {
            addCriterion("GACHA_LEADER between ", value1, value2, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaLeaderNotBetween(String value1, String value2) {
            addCriterion("GACHA_LEADER not between ", value1, value2, "GACHA_LEADER");
            return (VillageInfoCriteria) this;
        }
        public VillageInfoCriteria andGachaViceLeaderIsNull() {
            addCriterion("GACHA_VICE_LEADER is null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderIsNotNull() {
            addCriterion("GACHA_VICE_LEADER is not null");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderEqualTo(String value) {
            addCriterion("GACHA_VICE_LEADER =", value, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderNotEqualTo(String value) {
            addCriterion("GACHA_VICE_LEADER <>", value, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderGreaterThan(String value) {
            addCriterion("GACHA_VICE_LEADER >", value, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("GACHA_VICE_LEADER >=", value, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderLessThan(String value) {
            addCriterion("GACHA_VICE_LEADER <", value, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderLessThanOrEqualTo(String value) {
            addCriterion("GACHA_VICE_LEADER <=", value, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderLike(String value) {
            addCriterion("GACHA_VICE_LEADER like ", value, "GACHA_VICE_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderNotLike(String value) {
            addCriterion("GACHA_VICE_LEADER  not like ", value, "GACHA_VICE_LEADER", 1);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderLeftLike(String value) {
            addCriterion("GACHA_VICE_LEADER like ", value, "GACHA_VICE_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderNotLeftLike(String value) {
            addCriterion("GACHA_VICE_LEADER  not like ", value, "GACHA_VICE_LEADER", 0);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderRightLike(String value) {
            addCriterion("GACHA_VICE_LEADER like ", value, "GACHA_VICE_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderNotRightLike(String value) {
            addCriterion("GACHA_VICE_LEADER  not like ", value, "GACHA_VICE_LEADER", 2);
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderIn(List<String> values) {
            addCriterion("GACHA_VICE_LEADER  in ", values, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderNotIn(List<String> values) {
            addCriterion("GACHA_VICE_LEADER not in ", values, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderBetween(String value1, String value2) {
            addCriterion("GACHA_VICE_LEADER between ", value1, value2, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

        public VillageInfoCriteria andGachaViceLeaderNotBetween(String value1, String value2) {
            addCriterion("GACHA_VICE_LEADER not between ", value1, value2, "GACHA_VICE_LEADER");
            return (VillageInfoCriteria) this;
        }

    }

    public static class VillageInfoCriteria extends GeneratedCriteria {

        protected VillageInfoCriteria() {
            super();
        }
    }

    public static class VillageInfoCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected VillageInfoCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected VillageInfoCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected VillageInfoCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected VillageInfoCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected VillageInfoCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected VillageInfoCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}